package com.example.et.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.et.entity.User;

@Repository
@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("SELECT * FROM user;")
    List<User> getAllUser();
}
